from datetime import timedelta

from django.utils import timezone
from celery import shared_task

from .models import Order


@shared_task
def add(x, y):
    return x + y


@shared_task
def mul(x, y):
    return x * y


@shared_task
def xsum(numbers):
    return sum(numbers)
